package lab02.test07;

/**
 * Created by Administrator on 2017/10/19.
 */
public class Test {
    public static void main(String[] args) {
        Person yi= new Person();
        yi.name = "yifeng";
        yi.age = 21;
        yi.idcard = "511681199605042826";
        System.out.println(yi.getString());

        Student lu = new Student();
        lu.name = "lulu";
        lu.age = 20;
        lu.idcard = "511681199704102829";
        lu.sno = "1606101107";
        lu.university = "sctu";
        System.out.println(lu.getString());
    }
}
